<div class="header">
    <back-Btn></back-Btn>
    办证件
</div>
<div class="container finance">
    <div class="list f_sk">
        <div class="list-item list-item-textarea">
            <div class="item-label">备注</div>
            <div class="flow-content">
                <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
            </div>
        </div>
        <div class="list-item required icon_more" ng-click="showCertificate()">
            <div class="item-label">添加办证明细</div>
            <div class="flow-content"></div>
        </div>
        <div class="list table-list ">
            <div class="info-title" ng-show="param.dealDetails.length">需添加的证件</div>
            <div class="table-item" ng-repeat="item in param.dealDetails">
                <div class="content" ng-class="{cur:$index==index}" ng-click="resetlist()" ng-swipe-left="swipe($index)" ng-swipe-right="swipe(-1)">
                    <div class="list-item">
                        <div class="item-label">证件类型</div>
                        <div class="flow-content">{{item.cerType}}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">人员姓名</div>
                        <div class="flow-content">{{item.personnels}}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">备注</div>
                        <div class="flow-content">{{item.remark}}</div>
                    </div>
                </div>
                <div class="delete_icon icon_del" ng-click="deletedItem($index)"></div>
            </div>
        </div>
        <!-- 自定义字段 -->
        <div user-defined  param="param"  field-map="param.fieldMap" validation="validation" uid="param.uid" processid="param.processInstanceId"></div>
        <!-- 附件 -->
		<div class="file-upload" file-upload file-data="param.attachment">
		</div>
        <!-- 审查日志 -->
        <div log-list status="processStatus" taskid="process_id"></div>
    </div>
</div>
<!-- 删除流程 -->
<div delete-flow uid="param.uid" id="{{param.processInstanceId}}" submit="submit" validate="validate"></div>
<!-- 选择办证明细子项目 -->
<div class="list tablestyle pickceritem" ng-show="showCerPicker">
    <div class="list-item">
        <div class="list-item list-content required">
            <div class="col-1-4">证件类型</div>
            <div class="col-3-4">
                <select name="sex" id="sexSelect" ng-model="picker.cerType" ng-options="item.value as item.value for item in resiTypeList">
                    <option value="">选择报销类型</option>
                </select>
            </div>
        </div>
        <div class="list-item list-content required">
            <div class="col-1-4">人员姓名</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.personnels" />
            </div>
        </div>
        <div class="list-item list-content">
            <div class="col-1-4">备注</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.remark" />
            </div>
        </div>
    </div>
    <div class="pickceritem-btn tc flex">
        <div class="cancel" ng-click="cacelCertificate()">取消</div>
        <div class="confirm" ng-click="addCertificate()">确定</div>
    </div>
</div>